Q:
I'm using Terminal.app in Mac OS X and do not know the arguments
for the command called ioreg . There is no man page. Can you
provide me with the arguments for ioreg ?
A:
Yes, just type ioreg and use a "bad" argument in
the call. Then ioreg will display its arguments. Here is
an example.
[localhost:~] waynefla% ioreg -_
usage: ioreg [-b] [-c class | -l | -n name] [-p plane] [-s] [-w width]
where options are:
-b show object name in bold
-c list properties of objects with the given class
-l list properties of all objects
-n list properties of objects with the given name
-p traverse registry over the given plane (IOService is default)
-s show object state (eg. busy state, retain count)
-w clip output to the given line width (0 is unlimited)
[localhost:~] waynefla%
|
Listing 1. Command line arguments.
|
[Feb 05 2001]
|